Skip to content

BUG: fix categorical searchsorted bug (#14522) #14544

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

chiangqiqi
Copy link

@chiangqiqi chiangqiqi commented Oct 31, 2016

the bug is cause by x.categories.values.searchsorted, where the search should not be performed.

@jorisvandenbossche
Copy link
Member

@chiangqiqi Can you add tests for this?

@jorisvandenbossche jorisvandenbossche added Bug Categorical Categorical Data Type labels Oct 31, 2016
@chiangqiqi
Copy link
Author

I think I miss understood the meaning, will try to fix this soon.

@chiangqiqi chiangqiqi closed this Nov 2, 2016
@jorisvandenbossche jorisvandenbossche added this to the No action milestone Nov 2, 2016
@chiangqiqi chiangqiqi deleted the cate_searchsort_fix branch November 14, 2016 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Categorical Categorical Data Type
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Categorical.searchsorted() uses lexical order instead of the provided categorical order
2 participants